#include <unistd.h>
#include <stdio.h>
#include <iostream>
using namespace std; 

struct test_fun{
	void (*print)(int a); 
};
void print(int a){
	printf("hello,world\n"); 
}
int main(){
	struct test_fun t; 
	t.print(10); 
	cout << getuid() << endl; 
	cout << geteuid() << endl; 

	setuid(1000); 

	cout << getuid() << endl; 
	cout << geteuid() << endl; 
}
